#!/bin/sh

# 复制项目的文件到对应docker路径，便于一键生成镜像。
usage() {
	echo "Usage: sh copy.sh"
	exit 1
}

# copy sql
echo "begin copy sql "
cp ../exec-sql-rest/src/main/resources/db/exec-sql.sql ./mysql/db

# copy html
echo "begin copy exec-sql-ui "
cp -r ../exec-sql-ui/dist/** ./exec-sql-ui/html/dist


# copy jar
echo "begin copy exec-sql-web "
cp ../exec-sql-web/target/exec-sql-web-1.0.0.jar ./exec-sql-web/jar

